projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4011326
)
toolitemgroup: Use the widget state flags as a base for drawing
author
Rui Matos
<tiagomatos@gmail.com>
Thu, 22 Dec 2011 00:31:07 +0000
(
00:31
+0000)
committer
Rui Matos
<tiagomatos@gmail.com>
Mon, 9 Jan 2012 16:45:44 +0000
(16:45 +0000)
gtk/gtktoolitemgroup.c
patch
|
blob
|
history
diff --git
a/gtk/gtktoolitemgroup.c
b/gtk/gtktoolitemgroup.c
index bb59b05059160f50b18645f4d209c53edd2339ff..40b10e38f4acb7aa9da5fd9e517631b71ebca62a 100644
(file)
--- a/
gtk/gtktoolitemgroup.c
+++ b/
gtk/gtktoolitemgroup.c
@@
-277,6
+277,7
@@
gtk_tool_item_group_header_draw_cb (GtkWidget *widget,
width = gtk_widget_get_allocated_width (widget);
height = gtk_widget_get_allocated_height (widget);
context = gtk_widget_get_style_context (widget);
+ state = gtk_widget_get_state_flags (widget);
if (!priv->collapsed)
state |= GTK_STATE_FLAG_ACTIVE;